package com.fy56.platform.logistics.dbutil;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;

/**
 * @author li
 * @date 2018-03-08 13:12
 */
public class ThreadLocalRountingDataSource extends AbstractRoutingDataSource {
    @Override
    protected Object determineCurrentLookupKey() {
        return DataSourceTypeManager.get();
    }
}
